//
// Created by Administrator on 2022/6/15.
//

#ifndef NOTIFICATIONICON_H
#define NOTIFICATIONICON_H

#include <wx/taskbar.h>

class MainFrame;

class NotificationIcon : public wxTaskBarIcon{
public:
    NotificationIcon();
    ~NotificationIcon();

    void SetMainFrame(MainFrame* frame);

    void OnLeftDoubleClick(wxTaskBarIconEvent &event);
    void OnQuit(wxCommandEvent& event);
    virtual wxMenu* CreatePopupMenu();
protected:
    static const int PopupExitID;

    MainFrame *mainFrame;
private:
DECLARE_EVENT_TABLE()

};

#endif
